const runtime.timeHistNumSubBuckets
8 uses
runtime (current package)
histogram.go#L68: timeHistNumSubBuckets = 1 << timeHistSubBucketBits
histogram.go#L71: timeHistTotalBuckets = timeHistNumBuckets*timeHistNumSubBuckets + 2
histogram.go#L85: counts [timeHistNumBuckets * timeHistNumSubBuckets]atomic.Uint64
histogram.go#L133: subBucket := uint(duration>>(bucketBit-1-timeHistSubBucketBits)) % timeHistNumSubBuckets
histogram.go#L134: h.counts[bucket*timeHistNumSubBuckets+subBucket].Add(1)
histogram.go#L160: for j := 0; j < timeHistNumSubBuckets; j++ {
histogram.go#L171: for j := 0; j < timeHistNumSubBuckets; j++ {
histogram.go#L180: bucketIndex := (i-timeHistMinBucketBits+1)*timeHistNumSubBuckets + j + 1
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |